 |
API Documentation
|
|
|
Offers capabilities to ease the manipulation of meshes in some contexts.
Definition: MeshUtils.h:12
static void computeTangents(const AttributeGenerationInfo &inputInfo, AttributeGenerationOutput &outputInfo)
static void computeNormals(const AttributeGenerationInfo &inputInfo, AttributeGenerationOutput &outputInfo)
Describes the output of an attribute generation operation.
Definition: AttributeGenerationOutput.h:16
A view over data.
Definition: BufferView.h:18
static AttributeGenerationOutput computeBinormals(const AttributeGenerationInfo &inputInfo)
A bounding box. Often used to encompass object's bounds in the world.
Definition: BoundingBox.h:14
static void computeBinormals(const AttributeGenerationInfo &inputInfo, AttributeGenerationOutput &outputInfo)
Holds data about a decoded mesh.
Definition: DecodedMeshData.h:12
Holds mesh low-level data once packed by the MeshUtils.
Definition: PackedMeshData.h:12
static BoundingBox computeBounds(const nkMemory::BufferView< unsigned char > &vertexBuffer, unsigned int byteStride, const MeshInputLayoutAttribute &positionAttribute)
Describes how a filling operation should behave.
Definition: MeshFillOptions.h:25
Describes how VertexData should be interpreted when generating low-level mesh data.
Definition: VertexComposition.h:12
static PackedMeshData packIntoMeshData(const nkMemory::BufferView< VertexData > &meshInfo, const VertexComposition &composition)
Holds information for an attribute generation request.
Definition: AttributeGenerationInfo.h:12
static AttributeGenerationOutput computeTangents(const AttributeGenerationInfo &inputInfo)
static AttributeGenerationOutput computeNormals(const AttributeGenerationInfo &inputInfo)
static void fillMeshFromDecodedData(DecodedMeshData &data, Mesh *mesh, const MeshFillOptions &options=MeshFillOptions())
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:14